home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / prog / atari / c / berm122 / mail.h < prev    next >
C/C++ Source or Header  |  1993-08-16  |  1KB  |  28 lines

  1. /* Structures needed for FidoNet compatible packets */
  2.  
  3. struct _pkthdr
  4. {  short  ph_onode,               /* originating node */
  5.           ph_dnode,               /* destination node */
  6.           ph_yr, ph_mo, ph_dy,    /* date packet was assembled */
  7.           ph_hr, ph_mn, ph_sc,    /* time packet was assembled */
  8.           ph_rate,                /* packet baud rate */
  9.           ph_ver,                 /* packet version */
  10.           ph_onet,                /* originating net */
  11.           ph_dnet;                /* destination net */
  12.    short  ph_prod;                /* product code */
  13.    char   ph_pwd[8];              /* password */
  14.    short  ph_ozone,               /* originating zone */
  15.           ph_dzone,               /* destination zone */
  16.           ph_rsvd[10];            /* reserved for future use */
  17. };
  18.  
  19. struct _pktmsgs
  20. {  short pm_ver,                 /* message version */
  21.          pm_onode,               /* originating node */
  22.          pm_dnode,               /* destination node */
  23.          pm_onet,                /* originating net */
  24.          pm_dnet,                /* destination net */
  25.          pm_attr,                /* message attributes */
  26.          pm_cost;                /* message cost, in cents */
  27. };
  28.